package models

type VoteData struct {
	PostID    string `json:"post_id" binding:"required"`
	Direction int8   `json:"direction" binding:"oneof=0 1 -1"` //赞成票 1，反对票 -1
}
